Auto merge of #5118 - Eh2406:more_rc, r=alexcrichton
authorbors <bors@rust-lang.org>
Sun, 4 Mar 2018 20:47:56 +0000 (20:47 +0000)
committerbors <bors@rust-lang.org>
Sun, 4 Mar 2018 20:47:56 +0000 (20:47 +0000)
commitcd230ad2f3b085ed7c26dcf340361e594bcb3342
tree812fe3f9000f32ffa6d646063f1472789ac764fe
parentadadfab5dd91917f404af566c6622e65576a2b3d
parentaf6086182d98d284e4be72695be18ce3ddcbe671
Auto merge of #5118 - Eh2406:more_rc, r=alexcrichton

use more Rc in the part of resolver that gets cloned a lot

In a test on https://github.com/rust-lang/cargo/issues/4810#issuecomment-357553286
Before we got to 1700000 ticks in ~(82 to 97) sec
After we got to 1700000 ticks in ~(63 to 67) sec